package com.aizhixin.lab.docker.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;
import java.util.UUID;

@Entity(name = "user_last_operation")
@Data
public class LastOperation {
    @Id
    private String id = UUID.randomUUID().toString();
    @Column(name = "user_id")
    private Long userId;
    @Column(name = "images_name")
    private String imagesName;
    @Column(name = "images_version")
    private String imagesVersion;
    @Column(name = "course_id")
    private String courseId;
    @Column(name = "create_date")
    private Date createDate;

}
